package com.jp.bytecode;

public class MyTest2 {
    String str = "welcome";
    private int x=5;

    public static Integer in = 10;

    public MyTest2(int i){
        System.out.println("hello world");
    }

    public MyTest2(int a,int b){
        System.out.println(b);
    }

    public static void main(String[] args) {
       // MyTest2 myTest2 = new MyTest2();

    }
    public void setX(int x){
        this.x=x;
    }
    public  void test(String str){
        synchronized (str){
            System.out.println("hello world");
        }
    }
}
